package com.pn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pn.entity.SysMenu;

import java.util.List;

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    //根据用户id查询用户所有权限菜单的方法
    public List<SysMenu> findAllMenuByUid(Long userId);
}